//
//  SetTableViewCell.m
//  小汽车
//
//  Created by mill on 15/1/9.
//  Copyright (c) 2015年 蓝欧科技. All rights reserved.
//

#import "SetTableViewCell.h"

@implementation SetTableViewCell

- (void)dealloc
{
    [_leftLabel release];
    [_rightLabel release];
    [super dealloc];
}

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        
            self.leftLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, self.frame.size.width / 4, self.frame.size.height - 10)];
            _leftLabel.textAlignment = NSTextAlignmentCenter;
            _leftLabel.font = [UIFont systemFontOfSize:13];
            [self addSubview:_leftLabel];
            [_leftLabel release];
        

        self.rightLabel = [[UILabel alloc] initWithFrame:CGRectMake(self.frame.size.width / 9 * 7, 0, self.frame.size.width / 24 * 9, self.frame.size.height - 10)];
        _rightLabel.backgroundColor = [UIColor clearColor];
        _rightLabel.textColor = [UIColor colorWithRed:17.0/255.0 green:190.0/255.0 blue:227.0/255.0 alpha:1.0];
        _rightLabel.textAlignment = NSTextAlignmentRight;
        _rightLabel.font = [UIFont systemFontOfSize:11];
        [self addSubview:_rightLabel];
        [_rightLabel release];
    }
    return self;
}
- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
